﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TaskScheduleSetupList.aspx.cs" Inherits="basedata_Task_Schedule_TaskScheduleSetup_List" %>
<%@ Register TagPrefix="MembersControl" Namespace="Controls" %>
<%@ Register TagPrefix="PubHead" TagName="header" Src="~/pub/crm/include/header.ascx"%>
       <PubHead:header ID="header" runat="server"></PubHead:header>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
   
</head>
<body>
        
<form id="form1" runat="server" >
    <div align="center"> 
        <table width="90%" class="poptab">
            <tr > 
              <td class="title" ><div id="title"><strong>任务设置</strong></div></td>
            </tr>
        </table>
        <table width="90%" border="0">
            <tr> 
              <td style="width: 571px"> </td>
              <td><div align="right">
             
              <asp:Button ID="add" runat="server" Text="添加" CssClass="btn" OnClick="add_click" />
             </div></td>
            </tr>
        </table>
    
		        
      <MembersControl:simplepager id="questlist"  runat="server" pagesize="10" emptytext="No member found." onpageindexchanged="PageChanged">
		<headertemplate>
			  <table width="100%"  class="opertab" border="0" cellpadding="0" cellspacing="0">
				<tr  class="title" > 
		          <td width="20%"  align="center"   bgcolor="#296FAD"><strong><font color="#FFFFFF">任务ID</font></strong></td>
		          <td width="20%" align="center"   bgcolor="#296FAD"><strong><font color="#FFFFFF">任务名称</font></strong></td>
		        <td width="20%" align="center"   bgcolor="#296FAD"><strong><font color="#FFFFFF">任务类型</font></strong></td>
		          <td width="20%" align="center"   bgcolor="#296FAD"><strong><font color="#FFFFFF">任务状态</font></strong></td>
		          <td width="20%" align="center" bgcolor="#296FAD"><strong><font color="#FFFFFF">操作</font></strong></td>
		        </tr>	
		</headertemplate>
		<AlternatingItemTemplate>
			<tr class="" >
				<td  align="center"  width="20%"><%# DataBinder.Eval(Container.DataItem, "TSS_ID")%></td>
				<td align="center"   width="20%"><asp:Literal ID="LabQsdname" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TBI_VALUE") %>' ></asp:Literal></td>
				<td  align="center"   width="20%"><asp:Literal ID="lab_type" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TSS_TYPE") %>'></asp:Literal></td>
				<td align="center"   width="20%"><asp:Literal ID="lab_state" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TSS_STATUS") %>' ></asp:Literal></td>
				
				<td >
				    <table width="80%"  border="0" align="center" cellpadding="0" cellspacing="0">
				      <tr>
					    <td align="center"> <a href="TaskScheduleSetupModify.aspx?id=<%# DataBinder.Eval(Container.DataItem, "TSS_ID")%>&cur_page=<%# questlist.CurrentPageIndex%>"><img src="../../pub/crm/images/m.gif" alt="修改" border="0" /></a></td>
					    <td align="center"><a href="TaskScheduleSetupDel.aspx?id=<%# DataBinder.Eval(Container.DataItem, "TSS_ID")%>&cur_page=<%# questlist.CurrentPageIndex%>" onclick="javascript:return confirm('确定删除吗？')"><img src="../../pub/crm/images/del.gif" alt="删除" border="0" /></a></td>
					    <td align="left">
					    <asp:Literal ID="LabModifyOption" runat="server" ></asp:Literal>
					    
					    </td>
				      </tr>
				    </table>
				</td>
			</tr>
		</AlternatingItemTemplate>
		<itemtemplate>
			<tr  class="dg_item">
				<td  align="center"  width="20%"><asp:Literal ID="Literal1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TSS_ID") %>'></asp:Literal></td>
				<td align="center"  width="20%"><%# DataBinder.Eval(Container.DataItem, "TBI_VALUE")%></td>
				<td  align="center"   width="20%"><asp:Literal ID="lab_type" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TSS_TYPE") %>'></asp:Literal></td>
				<td align="center"  width="20%"><asp:Literal ID="lab_state" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TSS_STATUS") %>' ></asp:Literal></td>
				
				<td>
				    <table width="80%"  border="0" align="center" cellpadding="0" cellspacing="0">
				      <tr>
				      
					    <td align="center"><a href="TaskScheduleSetupModify.aspx?id=<%# DataBinder.Eval(Container.DataItem, "TSS_ID")%>&cur_page=<%# questlist.CurrentPageIndex%>"><img src="../../pub/crm/images/m.gif" alt="修改" border="0" /></a></td>
					    
				      <td align="center"><a href="TaskScheduleSetupDel.aspx?id=<%# DataBinder.Eval(Container.DataItem, "TSS_ID")%>&cur_page=<%# questlist.CurrentPageIndex%>" onclick="javascript:return confirm('确定删除吗？')"><img src="../../pub/crm/images/del.gif" alt="删除" border="0" /></a></td>
					    <td align="center">
					     <asp:Literal ID="Literal4" runat="server" ></asp:Literal>
					    </td>
				      </tr>
				    </table>
				</td>
			</tr>
		</itemtemplate>
		<footertemplate>
		</table>
	</footertemplate>
	</MembersControl:simplepager>
   </div> 
</form>
</body>
</html>
